package com.cinema.model;

/**
 * 经理类
 * 
 * @author Cinema Management System
 * @version 1.0.0
 */
public class Manager extends User {
    
    /**
     * 默认构造函数
     */
    public Manager() {
        super();
        setUserType(UserType.MANAGER);
    }
    
    /**
     * 构造函数
     * 
     * @param userId 用户ID
     * @param username 用户名
     * @param password 密码
     * @param phoneNumber 手机号
     */
    public Manager(String userId, String username, String password, String phoneNumber) {
        super(userId, username, password, UserType.MANAGER, phoneNumber);
    }
    
    @Override
    public String toString() {
        return "Manager{" +
                "userId='" + getUserId() + '\'' +
                ", username='" + getUsername() + '\'' +
                ", userType=" + getUserType() +
                ", phoneNumber='" + getPhoneNumber() + '\'' +
                ", registerTime=" + getRegisterTime() +
                '}';
    }
} 